package br.unip.tcc.domotic.bean;

public class ConditionBean extends AbstractBean {
	
	private static final long serialVersionUID = 1L;
	
	private Integer conditionId;
	private String conditionName;
	private Double conditionValue;
	private Boolean conditionIsDate;
	private Boolean conditionIsHour;
	private SensorBean sensor;
	private OperatorTypeBean operatorType;
	
	public Integer getConditionId() {
		return conditionId;
	}
	
	public void setConditionId(Integer conditionId) {
		this.conditionId = conditionId;
	}
	
	public String getConditionName() {
		return conditionName;
	}
	
	public void setConditionName(String conditionName) {
		this.conditionName = conditionName;
	}
	
	public Double getConditionValue() {
		return conditionValue;
	}
	
	public void setConditionValue(Double conditionValue) {
		this.conditionValue = conditionValue;
	}
	
	public Boolean getConditionIsDate() {
		return conditionIsDate;
	}
	
	public void setConditionIsDate(Boolean conditionIsDate) {
		this.conditionIsDate = conditionIsDate;
	}
	
	public Boolean getConditionIsHour() {
		return conditionIsHour;
	}
	
	public void setConditionIsHour(Boolean conditionIsHour) {
		this.conditionIsHour = conditionIsHour;
	}
	
	public SensorBean getSensor() {
		return sensor;
	}
	
	public void setSensor(SensorBean sensor) {
		this.sensor = sensor;
	}
	
	public OperatorTypeBean getOperatorType() {
		return operatorType;
	}
	
	public void setOperatorType(OperatorTypeBean operatorType) {
		this.operatorType = operatorType;
	}
	
}
